package com.xueyi.aixihu.reqeust;

import com.xueyi.aixihu.reqeust.base.PageLimitReq;
import lombok.Data;
import org.springframework.util.StringUtils;

/**
 * 描述 财务公开信息
 *
 * @auther 俞烨
 * @date 2022-09-16 10
 */
@Data
public class FinancePublicListReq extends PageLimitReq {

    private String month;
    private String keyWord;
    private Integer areaType;
    private String areaIds;

    public void format() {
        countStartIndex();
        month = StringUtils.hasLength(month) ? month : null;
        keyWord = StringUtils.hasLength(keyWord) ? keyWord : null;
        areaIds = StringUtils.hasLength(areaIds) ? areaIds : null;
    }
}
